package Arbori;

import Visitor.Visitor;

public class ArboreFunctional {
	public Nod radacina;
	
	public ArboreFunctional(Nod r){
		this.radacina = r;
	}

	public Nod getRadacina() {
		return radacina;
	}

	public void setRadacina(Nod radacina) {
		this.radacina = radacina;
	}

	public void acceptVisitor(Visitor v){
		v.visit(radacina);
	}
}
